<template>
    <div class="demo">
      <h2 class="title">学校名称：{{name}}</h2>
      <h2>学校地址：{{address}}</h2>
    </div>
</template>
  
<script>
  export default {
    name: 'SchoolComponent',
    data(){
      return {
        name:'尚硅谷',
        address:'深圳*南山'
      }
    }
  }
</script>

<style less="less" scoped>
  .demo{
    background-color: skyblue;
  }
</style>